package com.example.plat.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.plat.enity.Activity;
import com.example.plat.exception.AdminException;

public interface AdminService {

    //获取需审核活动
    IPage<Activity> getJudge(Integer pageNum, Integer pageSize);

    //获取已通过活动
    IPage<Activity> getPass(Integer pageNum, Integer pageSize);

    //审核活动
    Boolean judgeActivity(Long actId,boolean isPass) throws AdminException;
}
